
idf_component_register(SRC_DIRS ./ ../ola-wifi-device-sdk/pal/src ../ola-wifi-device-sdk/ola/src
                    INCLUDE_DIRS "../ola-wifi-device-sdk/ola/inc" "../ola-wifi-device-sdk/pal/inc" "$ENV{IDF_PATH}/examples/common_components/protocol_examples_common"
                    )

target_compile_options(${COMPONENT_LIB}
                        PRIVATE
                        -D__ESP_32_PAL__ -Wno-error=unused-label -Wno-error=maybe-uninitialized -Wno-error=implicit-function-declaration -Wno-error=pointer-sign -Wno-error=char-subscripts -Wno-error=sizeof-pointer-memaccess -Wno-error=format)

#add_prebuilt_library(ola "../ola-wifi-device-sdk/target/lib/libola.a")

#target_link_libraries(${COMPONET_LIB} PUBLIC ola)

#register_component()